<template>
  <div class="nav">
    <ul>
      <li><router-link to="login">登录</router-link></li>
      <li><router-link to="register">注册</router-link></li>
      <li><router-link to="about">关于我们</router-link></li>
    </ul>
  </div>
  <ArticleCom greeting-message="hello" />
  <router-view></router-view>
</template>

<script>
import ArticleCom from './components/ArticleCom.vue'

export default {
  name: 'App',
  components: {
    ArticleCom
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.nav{
  height:100px;
}
.nav ul li{
  float: left;
  list-style: none;
  margin: 10px;
}
</style>
